
public class Passenger {
	private boolean checked = false;
	private String detail;
	private String gate_num;
	private long registration;
	private String id;
	private String fly;
	public Passenger(long reg,String details,String gate,boolean check_in,String name,String flight){
		id = name;
		fly = flight;
		registration = reg;
		detail = details;
		gate_num = gate;
		checked = check_in;
	}
	public String get_Name(){
		return id;
	}
	public String get_flight(){
		return fly;
	}
	public String getDetails(){
		return detail;
	}
	public boolean getStatus(){
		return checked;
	}
	public long getReg(){
		return registration;
	}
	public String getGate(){
		return gate_num;
	}
	public void Change_state(boolean bool){
		checked = bool;
	}
	
}
